package com.test.ch01;

public class Cat extends Animal{
    private int color;
    int age=19;
    public void catchFish(){
        System.out.println("catch...");
    }
    /*public Cat(){
        super();
    }*/
    static{
        System.out.println("cat::static");
    }
    public Cat(int age,String name){
        super(age,name);
        System.out.println("cat::Cat");
    }
    {
        System.out.println("cat::haha");
    }
    {
        System.out.println("CAT::HEHE");
    }
}
